HOME |  BACK |  NEXT |  _  WORDLIST |  TOPICS |  _  AUTHORS |  E-MAIL |  _  INDEX | -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

WWWE LogoTopic:

<INPUT> Input object

Definition:

<INPUT> defines an input object within an HTML form; these objects come in several different types, and also include several different ways to name and specify the data they contain.

Attributes:

TYPE = ("TEXT"|"CHECKBOX"|"HIDDEN"|"RADIO"|"SUBMIT"|"RESET")

NAME = "name"

the name of the input item, as passed to the CGI script for the form as part of a name/value pair (this is how the script identifies values with their corresponding form fields).

VALUE = "text"

the value for the input item, as passed to the CGI script for the form as part of a name/value pair.

SIZE = "number"

the size of a "TEXT" type input item, as measured by the number of characters it contains.

MAXLENGTH = "number"

the maximum number of characters allowed in a "TEXT" type input item.

CHECKED

for check boxes or radio buttons, inclusion of this attribute indicates that the box was checked, or button selected.

ALIGN=("TOP"|"MIDDLE"|"BOTTOM") and \[WIDTH="number"]|[HEIGHT="number"]\

Determines how text and images in a form will align, for forms that contain images. Otherwise, these settings behave the same as for <IMG>

Context:

<INPUT> is legal within:
<FORM>

As a singleton tag, <INPUT> will not permit other markup to be used within its operation.

Suggested style/usage:

<INPUT> is an essential ingredient for HTML forms of all kinds, since it provides the mechanism to solicit input from readers, and deliver it to the underlying forms-handling services supplied by the related CGI script or other forms-handling program.

Example:

Please see the Fill In Forms tutorial for examples.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

E-Mail: The World Wide Web Encyclopedia at wwwe@tab.com
E-Mail: Charles River Media at chrivmedia@aol.com
Copyright 1996 Charles River Media. All rights reserved.
Text - Copyright © 1995, 1996 - James Michael Stewart & Ed Tittel.
Web Layout - Copyright © 1995, 1996 - LANWrights & IMPACT Online.
Revised -- February 20th, 1996